<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>图片检测</title>
<link rel="stylesheet" href="css/baiduImage.css">
</head>
<body>
    <div class="sidebar">
        <h2>野生鸟类数据管理</h2>
        <ul>
            <li><a href="user-management.html">用户管理</a></li>
            <li><a href="data-management.html">数据管理</a></li>
            <li><a href="baiduImage.html">图片检测</a></li>
        </ul>
        <div class="user-info">
            <p>Welcome<span id="username"></span>!</p>
            <button id="logout-btn">退出</button>
        </div>
    </div>

    <div class="container">
        <h1>图片检测</h1>
        <form id="uploadForm" enctype="multipart/form-data">
            <button id="chooseImageButton" type="button">选择图片</button>
            <input type="file" id="imageInput" name="image" accept="image/*" required><br>
            <button id ="upload" type="submit">图片识别</button>
                 
        </form>
        <button id="processImageButton">语义检测</button>  
        
        <div id="imagePreview"></div>
        <div id="result"></div>
    </div>

<script src="js/baiduImage.js"></script>
</body>
</html>







